import { computed as c } from "vue";
import { c as i } from "../component-87e22bdd.mjs";
/*!
* Vin UI 移动端 Vue3 组件库 v0.2.9 Fri Jun 02 2023 21:01:02 GMT+0800 (中国标准时间)
* (c) 2023 @vingogo.
* Released under the MIT License.
*/
const { componentName: r, create: o } = i("comment"), d = o({
  props: {
    customClass: {
      type: String,
      default: ""
    },
    headerType: {
      type: String,
      default: "default"
      // 头部展示风格 default，complex
    },
    imagesRows: {
      type: String,
      default: "one"
      // 'one'  'multi'
    },
    ellipsis: {
      type: [String, Number, Boolean],
      default: !1
    },
    videos: {
      type: Array,
      default: () => []
    },
    images: {
      type: Array,
      default: () => []
    },
    info: {
      type: Object,
      default: () => ({})
    },
    follow: {
      type: Object,
      default: () => ({})
    },
    labels: {
      type: Function,
      default: () => ""
    },
    operation: {
      type: Array,
      default: ["replay", "like", "more"]
    }
  },
  emits: ["click", "clickImages", "clickOperate"],
  setup(e, { emit: l }) {
    const a = c(() => [
      {
        [r]: !0
      },
      e.customClass
    ]), s = c(() => e.ellipsis ? e.ellipsis : e.headerType === "complex" ? 6 : 2);
    return { classes: a, conEllipsis: s, clickOperate: (t) => {
      l("clickOperate", t);
    }, handleClick: () => {
      l("click", e.info);
    }, clickImages: (t) => {
      l("clickImages", t);
    } };
  }
});
export {
  d as default
};
